﻿/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
 */
#pragma once
#include <windows.h>

namespace UKeyUtilsClass {
class UKeyUtils {
public:
    UKeyUtils();
    ~UKeyUtils();
	/// <summary>
	/// 使用私钥 解密 AES key 密文，默认：加密后密文的长度为 128， Key的长度为 16
	/// </summary>
	/// <param name="in">IN_OUT: 输入密文，输出解密后的明文</param>
	/// <param name="inLen">IN_OUT: 输入密文的长度，输出明文长度</param>
    void DecryptAESKey(BYTE* data, DWORD& len) const;
};
}
